home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / dynaweb.idb / usr / lib / Insight / data / styles / toc.tv.33alt.z / toc.tv.33alt
Encoding:
Text File  |  1997-07-30  |  9.7 KB  |  367 lines

  1. <!-- Version $Revision: 1.1 $ of the TOC stylesheet -->
  2.  
  3. <!ENTITY    add.left-indent    CDATA    "+=20"    >
  4. <!ENTITY    app.text-b4    CDATA    "if(isempty(attr(LBL,ancestor(APPENDIX))),'',switch(attr(LANG,ancestor(SGIDOC)),de,Anhang ,fr,Appendice ,ja_JP.EUC,╔╒╧┐ ,DEFAULT,Appendix ) attr(LBL,ancestor(APPENDIX)))"    >
  5. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,mincho,DEFAULT,new century schoolbook)"    >
  6. <!ENTITY    body.font-size    CDATA    "12"    >
  7. <!ENTITY    body.line-space    CDATA    "14"    >
  8. <!ENTITY    character-set    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,*,DEFAULT,)"    >
  9. <!ENTITY    chp.text-b4    CDATA    "if(isempty(attr(LBL,ancestor(CHAPTER))),'',switch(attr(LANG,ancestor(SGIDOC)),de,Kapitel ,fr,Chapitre ,ja_JP.EUC,┬Φ ,DEFAULT,Chapter ) attr(LBL,ancestor(CHAPTER))) if(isempty(attr(LBL,ancestor(CHAPTER))),'',switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC, ╛╧,DEFAULT,))"    >
  10. <!ENTITY    chp.title.font-size    CDATA    "12"    >
  11. <!ENTITY    chp.title.font-weight    CDATA    "Bold"    >
  12. <!ENTITY    chp.title.left-indent    CDATA    "40"    >
  13. <!ENTITY    chp.title.space-before    CDATA    "6"    >
  14. <!ENTITY    doc.title.font-size    CDATA    "16"    >
  15. <!ENTITY    doc.title.line-space    CDATA    "21"    >
  16. <!ENTITY    left-indent.1    CDATA    "4"    >
  17. <!ENTITY    title-font    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,mincho,DEFAULT,new century schoolbook)"    >
  18. <!ENTITY    title.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOC)),ja_JP.EUC,mincho,DEFAULT,helvetica)"    >
  19. <!ENTITY    title.foreground    CDATA    "black"    >
  20. <!ENTITY    title.space-before    CDATA    "4"    >
  21.  
  22. <sheet >
  23.  
  24.  
  25.  
  26. <?INSTED COMMENT: GROUP #ROOT>
  27.  
  28. <group name="#ROOT">
  29.     <left-indent>    &left-indent.1    </>
  30. </group>
  31.  
  32.  
  33.  
  34. <?INSTED COMMENT: GROUP title>
  35.  
  36. <group name="title">
  37.     <font-family>    &title-font    </>
  38.     <font-weight>    Medium    </>
  39.     <font-slant>    Roman    </>
  40.     <font-size>    &body.font-size    </>
  41.     <character-set> &character-set  </>
  42.     <foreground>    &title.foreground    </>
  43.     <line-spacing>    &body.line-space    </>
  44.     <justification>    Left    </>
  45.     <break-before>    True    </>
  46. </group>
  47.  
  48. <style name="APPENDIX,TITLE" group="title">
  49.     <font-family>   &title.font-family      </>
  50.     <font-weight>    Bold    </>
  51.     <font-size>    12    </>
  52.     <character-set> &character-set  </>
  53.     <left-indent>    &chp.title.left-indent    </>
  54.     <space-before>    &chp.title.space-before    </>
  55.     <text-before>join(&app.text-b4,' ')</>
  56. </style>
  57.  
  58. <style name="CHAPTER,TITLE" group="title">
  59.     <font-family>    helvetica    </>
  60.     <font-weight>    &chp.title.font-weight    </>
  61.     <character-set> &character-set  </>
  62.     <font-size>    &chp.title.font-size    </>
  63.     <left-indent>    &chp.title.left-indent    </>
  64.     <space-before>    &chp.title.space-before    </>
  65.     <text-before>join(&chp.text-b4,' ')</>
  66. </style>
  67.  
  68. <style name="GLOSSARY,TITLE" group="title">
  69.     <font-family>    helvetica    </>
  70.     <font-weight>    Bold    </>
  71.     <font-size>    12    </>
  72.     <character-set> &character-set  </>
  73.     <space-before>    &title.space-before    </>
  74. </style>
  75.  
  76. <style name="GLOSSARYENTRY" group="title">
  77.     <font-family>    helvetica    </>
  78.     <space-before>    &title.space-before    </>
  79. </style>
  80.  
  81. <style name="INTRODUCTION,TITLE" group="title">
  82.     <font-family>    helvetica    </>
  83.     <font-weight>    &chp.title.font-weight    </>
  84.     <character-set> &character-set  </>
  85.     <font-size>    &chp.title.font-size    </>
  86.     <space-before>    &chp.title.space-before    </>
  87. </style>
  88.  
  89. <style name="PART,TITLE" group="title">
  90.     <font-family>    helvetica    </>
  91.     <font-weight>    Bold    </>
  92.     <character-set> &character-set  </>
  93.     <left-indent>    40    </>
  94.     <space-before>    &title.space-before    </>
  95.     <text-before>PART switch(attr(LBL,ancestor(PART)),I,ONE,II,TWO,III,THREE,IV,FOUR,V,FIVE,VI,SIX,VII,SEVEN,VIII,EIGHT,IX,NINE,DEFAULT,TEN)</>
  96. </style>
  97.  
  98. <style name="REFERENCE,TITLE" group="title">
  99.     <font-family>    helvetica    </>
  100.     <font-weight>    &chp.title.font-weight    </>
  101.     <character-set> &character-set  </>
  102.     <font-size>    &chp.title.font-size    </>
  103.     <space-before>    &chp.title.space-before    </>
  104. </style>
  105.  
  106. <style name="REFNAME" group="title">
  107.     <font-family>    helvetica    </>
  108.     <font-size>    12    </>
  109.     <left-indent>    60    </>
  110.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION1))),0,-=25)    </>
  111.     <space-before>    &title.space-before    </>
  112.     <text-before>if(isempty(attr(LBL,ancestor(SECTION1))),'',join(attr(LBL,ancestor(SECTION1)),'   '))</>
  113. </style>
  114.  
  115. <style name="SECTION1,TITLE" group="title">
  116.     <font-family>    helvetica    </>
  117.     <font-size>    &chp.title.font-size    </>
  118.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION1))),0,-=25)    </>
  119.     <space-before>    &title.space-before    </>
  120.     <text-before>if(isempty(attr(LBL,ancestor(SECTION1))),'',join(attr(LBL,ancestor(SECTION1)),'   '))</>
  121. </style>
  122.  
  123. <style name="SECTION2,TITLE" group="title">
  124.     <font-family>    helvetica    </>
  125.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION2))),0,-=35)    </>
  126.     <space-before>    &title.space-before    </>
  127.     <text-before>if(isempty(attr(LBL,ancestor(SECTION2))),'',join(attr(LBL,ancestor(SECTION2)),'   '))</>
  128. </style>
  129.  
  130. <style name="SECTION3,TITLE" group="title">
  131.     <font-family>    helvetica    </>
  132.     <space-before>    &title.space-before    </>
  133.     <text-before>if(isempty(attr(LBL,ancestor(SECTION3))),'',join(attr(LBL,ancestor(SECTION3)),'   '))</>
  134. </style>
  135.  
  136. <style name="SECTION4,TITLE" group="title">
  137.     <space-before>    &title.space-before    </>
  138.     <text-before>if(isempty(attr(LBL,ancestor(SECTION4))),'',join(attr(LBL,ancestor(SECTION4)),'   '))</>
  139. </style>
  140.  
  141. <style name="SGIDOC,TITLE" group="title">
  142.     <font-weight>    Bold    </>
  143.     <font-size>    &doc.title.font-size    </>
  144.     <line-spacing>    &doc.title.line-space    </>
  145.     <space-before>    &title.space-before    </>
  146.     <title-tag>    "    </>
  147. </style>
  148.  
  149. <style name="SPARES,TITLE" group="title">
  150. </style>
  151.  
  152. <style name="SSB,TITLE" group="title">
  153. </style>
  154.  
  155. <style name="TITLEPAGE,TITLE" group="title">
  156.     <font-family>    helvetica    </>
  157.     <font-weight>    Bold    </>
  158.     <font-size>    &doc.title.font-size    </>
  159.     <line-spacing>    &doc.title.line-space    </>
  160.     <space-before>    &title.space-before    </>
  161. </style>
  162.  
  163. <style name="WHITEPAPER,TITLE" group="title">
  164. </style>
  165.  
  166.  
  167.  
  168. <?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
  169.  
  170. <style name="#SDATA">
  171.     <font-family>    attr(font)    </>
  172.     <font-weight>    Medium    </>
  173.     <font-slant>    Roman    </>
  174.     <character-set>    attr(charset)    </>
  175.     <text-before>char(attr(code))</>
  176. </style>
  177.  
  178. <style name="#TAGS">
  179.     <foreground>    purple    </>
  180. </style>
  181.  
  182. <!-- Style"#toc-annot" is reserved, and defines the appearance of the
  183.      bookmarks, word frequencies, location markers, etc. in left margin.
  184. -->
  185. <style name="#TOC-ANNOT">
  186.     <font-family>    courier    </>
  187.     <font-weight>    Bold    </>
  188.     <font-size>    12    </>
  189.     <character-set>    fontspecific    </>
  190.     <foreground>    magenta    </>
  191. </style>
  192.  
  193. <style name="APPENDIX">
  194.     <left-indent>    if(isempty(attr(LBL)),+=20,+=95)    </>
  195.     <title-tag>    TITLE    </>
  196. </style>
  197.  
  198. <style name="APPENDIX,SECTION1,SECTION2">
  199.     <left-indent>    if(isempty(attr(LBL)),+=14,+=35)    </>
  200.     <title-tag>    TITLE    </>
  201. </style>
  202.  
  203. <style name="APPENDIX,SECTION1,SECTION2,SECTION3">
  204.     <left-indent>    if(isempty(attr(LBL)),+=14,-=25)    </>
  205.     <title-tag>    TITLE    </>
  206. </style>
  207.  
  208. <style name="APPENDIX,TITLE,#TEXT-BEFORE">
  209.     <font-weight>    Medium    </>
  210.     <font-slant>    Italics    </>
  211.     <font-size>    12    </>
  212.     <break-after>    True    </>
  213. </style>
  214.  
  215. <style name="BUTTON">
  216.     <font-slant>    Italics    </>
  217. </style>
  218.  
  219. <style name="CHAPTER">
  220.     <left-indent>    if(isempty(attr(LBL)),+=20,+=95)    </>
  221.     <title-tag>    TITLE    </>
  222. </style>
  223.  
  224. <style name="CHAPTER,TITLE,#TEXT-BEFORE">
  225.     <font-family>    helvetica    </>
  226.     <font-weight>    Medium    </>
  227.     <font-slant>    Italics    </>
  228.     <font-size>    12    </>
  229.     <break-after>    True    </>
  230. </style>
  231.  
  232. <style name="COMMAND">
  233.     <font-slant>    Italics    </>
  234. </style>
  235.  
  236. <style name="EMPHASIS">
  237.     <font-slant>    Italics    </>
  238. </style>
  239.  
  240. <style name="FILENAME">
  241.     <font-slant>    Italics    </>
  242. </style>
  243.  
  244. <style name="GLOSSARY">
  245.     <left-indent>    +=20    </>
  246.     <title-tag>    TITLE    </>
  247. </style>
  248.  
  249. <style name="GLOSSARYTERM">
  250.     <left-indent>    +=15    </>
  251.     <title-tag>    GLOSSARYENTRY    </>
  252. </style>
  253.  
  254. <style name="INTRODUCTION">
  255.     <left-indent>    &add.left-indent    </>
  256.     <title-tag>    TITLE    </>
  257. </style>
  258.  
  259. <style name="INTRODUCTION,SECTION1">
  260.     <left-indent>    +=20    </>
  261.     <title-tag>    TITLE    </>
  262. </style>
  263.  
  264. <style name="ITALICS">
  265.     <font-slant>    Italics    </>
  266. </style>
  267.  
  268. <style name="PARAGRAPH">
  269.     <font-weight>    Bold    </>
  270. </style>
  271.  
  272. <style name="PART">
  273.     <title-tag>    TITLE    </>
  274. </style>
  275.  
  276. <style name="PART,TITLE,#TEXT-BEFORE">
  277.     <font-family>    helvetica    </>
  278.     <font-weight>    Medium    </>
  279.     <break-after>    True    </>
  280. </style>
  281.  
  282. <style name="PROGRAMNAME">
  283.     <font-slant>    Italics    </>
  284. </style>
  285.  
  286. <style name="REFENTRY">
  287.     <title-tag>    REFMETA    </>
  288. </style>
  289.  
  290. <style name="REFERENCE">
  291.     <left-indent>    if(isempty(attr(LBL)),+=20,+=95)    </>
  292.     <title-tag>    if(ancestor(APPENDIX),,TITLE)    </>
  293. </style>
  294.  
  295. <style name="REFMETA">
  296.     <font-family>    helvetica    </>
  297.     <font-size>    12    </>
  298.     <left-indent>    60    </>
  299.     <first-indent>    if(isempty(attr(LBL,ancestor(SECTION1))),0,-=25)    </>
  300.     <space-before>    &title.space-before    </>
  301.     <text-before>if(isempty(attr(LBL,ancestor(SECTION1))),'',join(attr(LBL,ancestor(SECTION1)),'   '))</>
  302. </style>
  303.  
  304. <style name="SECTION1">
  305.     <left-indent>    if(isempty(attr(LBL)),-=60,-=20)    </>
  306.     <title-tag>    TITLE    </>
  307. </style>
  308.  
  309. <style name="SECTION2">
  310.     <left-indent>    if(isempty(attr(LBL)),+=15,+=30)    </>
  311.     <title-tag>    TITLE    </>
  312. </style>
  313.  
  314. <style name="SECTION3">
  315.     <left-indent>    if(isempty(attr(LBL)),+=10,-=15)    </>
  316.     <title-tag>    TITLE    </>
  317. </style>
  318.  
  319. <style name="SECTION4">
  320.     <left-indent>    +=20    </>
  321.     <title-tag>    TITLE    </>
  322. </style>
  323.  
  324. <style name="SGIDOC">
  325.     <left-indent>    &add.left-indent    </>
  326.     <title-tag>    MANUAL,FRONTMATTER,TITLEPAGE,TITLE    </>
  327. </style>
  328.  
  329. <style name="SPARES">
  330.     <left-indent>    &add.left-indent    </>
  331.     <title-tag>    TITLE    </>
  332. </style>
  333.  
  334. <style name="SSB">
  335.     <left-indent>    &add.left-indent    </>
  336.     <title-tag>    TITLE    </>
  337. </style>
  338.  
  339. <style name="SUPPORT">
  340.     <title-tag>    TITLEPAGE,TITLE    </>
  341. </style>
  342.  
  343. <style name="SYM">
  344.         <font-family>   if(eq(content(),Ô),,symbol)     </>
  345.         <font-weight>   Medium  </>
  346.         <character-set> if(eq(content(),Ô),,symbol)     </>
  347.         <hide>  if(eq(content(),Ô),Children,)</>
  348.         <text-before>if(eq(content(),Ô),(TM),)</>
  349. </style>
  350.  
  351. <style name="TITLE,#TEXT-BEFORE">
  352.     <font-weight>    Bold    </>
  353. </style>
  354.  
  355. <style name="VARIABLE">
  356.     <font-slant>    Italics    </>
  357. </style>
  358.  
  359. <style name="WHITEPAPER">
  360.     <left-indent>    &add.left-indent    </>
  361.     <title-tag>    TITLE    </>
  362. </style>
  363.  
  364.  
  365.  
  366. </sheet>
  367.